.main-nav-bar {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(to bottom, @white-color 50%, rgba(white, 0) 100%);
  display: flex;
}

.nav-bar {
  width: 160px;
  height: 100vh;
  background-color: @bg-primary;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  align-items: center;
  position: relative;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);

  .pic-logo {
    width: 30px;
    height: 30px;
  }
  .pic-bg {
    width: 160px;
    height: 444px;
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .nav-menu-block {
    z-index: 10;
    overflow-y: auto;
    margin-top: 20px;
    .nav-menu-item {
      width: 140px;
      height: 60px;
      padding-left: 30px;
      padding-right: 30px;
      box-sizing: border-box;
      border-radius: @border-radius-10;
      display: flex;
      align-items: center;
      justify-content: center;
      color: @second-color;
      cursor: pointer;
      font-weight: 400;
      margin-bottom: 4px;
      line-height: 20px;
      background-color: transparent;

      &.active {
        background-color: @primary;
        color: @white-color;
        font-weight: 500;
        .icon-color {
          color: @white-color;
        }
      }

      &:hover {
        background-color: rgba(var(--primary-6), 0.2);
        font-weight: 400;
      }
      &.active:hover {
        background-color: rgba(var(--primary-6), 0.8);

        font-weight: 500;
      }
    }
  }
  .logout-btn {
    z-index: 10;
    width: 94px;
    height: 50px;
    background-color: rgba(@white-color, 0.1);
    border-radius: @border-radius-8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: @text-second-color;
    margin-top: 50px;
    margin-bottom: 50px;
    cursor: pointer;
  }
}

.second-nav-bar-block {
  flex: 1;
  height: 100vh;
  overflow: hidden;
  background-color: @page-bg-color;
  display: flex;
  flex-direction: column;
  .history-line {
    height: 13px;
    width: 1px;
    background-color: @text-second-color;
    margin: 0 10px;
  }
  .second-nav-bar {
    height: 72px;
    display: flex;
    align-items: center;
    background-color: @white-color;
    margin-bottom: 14px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    .second-nav-bar-item-block {
      flex: 1;
      display: flex;
      width: 100%;
      overflow-x: auto;
      height: 100%;
      align-items: center;
      padding-left: 10px;
      .scroll-bar-h-min;
      .second-nav-bar-item {
        min-width: 80px;
        height: 32px;
        padding: 0 10px;
        margin-left: 10px;
        color: @text-second-color;
        cursor: pointer;
        border-radius: 32px;
        line-height: 32px;
        text-align: center;
        &:hover {
          color: @white-color;
          background-color: @primary;
        }
        &.active {
          color: @white-color;
          background-color: @primary;
        }
      }
    }
  }
}
